/**
 * 
 */
package com.mywind.service.core.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mywind.dao.core.FunctionDao;
import com.mywind.entity.core.Function;
import com.mywind.service.core.IFunctionServ;

/**
 * @author A01162
 *
 */
@Service
public class FunctionServ implements IFunctionServ {
	@Autowired
	private FunctionDao functionDao;
	
	/* (non-Javadoc)
	 * @see com.mywind.service.IFunctionServ#getAllFunction()
	 */
	@Override
	public List<Function> getAllFunction() {
		// TODO Auto-generated method stub
		return functionDao.getAllFunction();
	}
	
	@Override
	public List<Function> getParentFuncsByIds(List<Integer> funcIds) {
		// TODO Auto-generated method stub
		return functionDao.getParentFuncsByIds(funcIds);
	}

}
